package com.qianyu.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qianyu.project.entity.TenderBiddingHistory;
import com.qianyu.project.mapper.provider.gs.TenderBiddingHistoryMapperProvider;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.SelectProvider;
import org.springframework.stereotype.Repository;

import java.util.Map;

/**
 * @author gs
 * @date create in 2021/2/3 10:28
 */
@Repository
public interface TenderBiddingHistoryMapper extends BaseMapper<TenderBiddingHistory> {
    /**
     * description: 分页查询 <br/>
     * author: gs   <br/>
     * date: 2021/2/3 <br/>
     * params: [page, params] <br/>
     * return: com.baomidou.mybatisplus.core.metadata.IPage<com.qianyu.project.entity.TenderBiddingHistory>
     */
    @SelectProvider(type = TenderBiddingHistoryMapperProvider.class,method = "selectPageList")
    IPage<TenderBiddingHistory> selectPageList(IPage page, @Param("params") Map<String, String> params);
}
